package com.cskaoyan.typehandler;


import com.fasterxml.jackson.databind.ObjectMapper;

import java.io.IOException;


public class String2IntegerArr {
    static ObjectMapper objectMapper = new ObjectMapper();
    public static Integer[] toIntegerArray(String s) throws IOException {
        Integer[] integers = objectMapper.readValue(s, Integer[].class);
        return integers;
    }
}
